package com.jvtd.eyl.ui.login;

import android.content.Context;
import android.content.Intent;

import com.jvtd.eyl.R;
import com.jvtd.eyl.base.BaseMvpActivity;


public class LoginActivity extends BaseMvpActivity {
    public static Intent getIntent(Context context) {
        return new Intent(context, LoginActivity.class);
    }
    @Override
    protected void initInject() {

    }

    @Override
    public boolean isImmersionBar() {
        return true;
    }

    @Override
    public int setStatusBarColor() {
        return R.color.color_empty;
    }

    @Override
    protected void getLayout() {
        setContentView(R.layout.jvtd_activity_frame_layout);
    }

    @Override
    protected void initViewAndData() {
        //加载根 Fragment
        LoginFragment loginFragment = LoginFragment.newInstance();
        loadRootFragment(R.id.frame_layout, loginFragment);
    }
}
